package com.xiaoma.weblog.example.mybatisplus.enums;

import lombok.Getter;

/**
 * @ClassName GenderEnum
 * @Description:
 * @Author: 小马
 * @CreateDate: 2025/4/2 14:22
 * @Version: 1.0
 */
@Getter
public enum GenderEnum {
    WOMAN(0, "女"),
    MAN(1, "男"),
    ;

    private final Integer code;
    private final String desc;

    GenderEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}